#pragma once
#include "CoCElement.h"

#include <vector>

struct ShapInfo
{
	char textureID;
	char count;
    V3F_C4B_T2F *vertex;
};

class CoCElementShape :
	public CoCElement
{
public:
	CoCElementShape(void);
	~CoCElementShape(void);
		
	virtual bool Parse(void *data, CoCSWF *pSWF);

	ShapInfo *GetShapInfo(int nIndex);
	int GetShapsCount();
	unsigned short GetID();

private:
	unsigned short m_nID;
	std::vector<ShapInfo> m_vecShaps;

    V3F_C4B_T2F *m_pVertex;
};